import QtQml 2.12
        import QtQuick 2.12
        import QtQuick.Window 2.3
        import QtQuick.Controls 2.2
        import QtQuick.Layouts 1.3


        ApplicationWindow {
        property bool isMoveWindow: false
        property point rootWindowTitleMousePos: Qt.point(x,y)
        id: page
        width: 800
        height: 400
        visible: true
        title:"demo"
        onTitleChanged: rootWindowTitleBarTitleText.text = title
        function updateRotater() {
        console.log("The chart has been cleared")
    }


        GridLayout {
        id: grid
        flow: GridLayout.TopToBottom
        rows: 5

        RowLayout{
        Layout.alignment: Qt.AlignTop | Qt.AlignLeft
        Label{
        id:label
        Layout.alignment: Qt.AlignLeft
        text: "测试次数:"
        font.pixelSize: 22 //字体大小
        }
        TextField{
        id:num
        }
        Button{
        id:btn_ensure
        text :qsTr("开始")
        onClicked: {
        con.start_test(num.text)
        }
        }

        }


        RowLayout{
        Label{
        id:trace1
        Layout.alignment: Qt.AlignLeft
        text: "Trace1:"
        font.pixelSize: 22 //字体大小
        }
        TextField{
        id:tf_trace1_value1
        }
        TextField{
        id:tf_trace1_value2
        }
        TextField{
        id:tf_trace1_value3
        text:qsTr("")
        }
        TextField{
        id:tf_trace1_value4
        }
        }

        RowLayout{
        Label{
        id:trace2
        Layout.alignment: Qt.AlignLeft
        text: "Trace2:"
        font.pixelSize: 22 //字体大小
        }
        TextField{
        id:tf_trace2_value1
        }
        TextField{
        id:tf_trace2_value2
        }
        TextField{
        id:tf_trace2_value3
        }
        TextField{
        id:tf_trace2_value4
        }
        }

        RowLayout{
        Label{
        id:trace3
        Layout.alignment: Qt.AlignLeft
        text: "Trace3:"
        font.pixelSize: 22 //字体大小
        }
        TextField{
        id:tf_trace3_value1
        }
        }

        RowLayout{
        Label{
        id:trace4
        Layout.alignment: Qt.AlignLeft
        text: "Trace4:"
        font.pixelSize: 22 //字体大小
        }
        TextField{
        id:tf_trace4_value1
        }
        }


        }


        }
